<?php 
	include_once 'thuvienham.php';
	include_once 'chuongtrinhhoc_db.php';

	class chuongtrinhhoc_bs 
	{
		//------------------Fields [7]------------------
			// #0
		private $MaChuongTrinh = "";
		public function SetMaChuongTrinh($MaChuongTrinh) { $this->MaChuongTrinh = $MaChuongTrinh; }
		public function GetMaChuongTrinh() { return $this->MaChuongTrinh; }
			// #1
		private $TenChuongTrinh = "";
		public function SetTenChuongTrinh($TenChuongTrinh) { $this->TenChuongTrinh = $TenChuongTrinh; }
		public function GetTenChuongTrinh() { return $this->TenChuongTrinh; }
			// #2
		private $SoTiet = -1;
		public function SetSoTiet($SoTiet) { $this->SoTiet = $SoTiet; }
		public function GetSoTiet() { return $this->SoTiet; }
			// #3
		private $HocPhi = -1;
		public function SetHocPhi($HocPhi) { $this->HocPhi = $HocPhi; }
		public function GetHocPhi() { return $this->HocPhi; }
			// #4
		private $MaTrangThai = -1;
		public function SetMaTrangThai($MaTrangThai) { $this->MaTrangThai = $MaTrangThai; }
		public function GetMaTrangThai() { return $this->MaTrangThai; }
			// #5
		private $GhiChu = "";
		public function SetGhiChu($GhiChu) { $this->GhiChu = $GhiChu; }
		public function GetGhiChu() { return $this->GhiChu; }
			// #6
		private $PIN = "";
		public function SetPIN($PIN) { $this->PIN = $PIN; }
		public function GetPIN() { return $this->PIN; }

		//------------------Method------------------
		public function Them()
		{
			$data = new chuongtrinhhoc_db();
			return $data->Them($this->MaChuongTrinh, $this->TenChuongTrinh, $this->SoTiet, $this->HocPhi, $this->MaTrangThai, $this->GhiChu, $this->PIN);
		}

		public function Xoa()
		{
			$data = new chuongtrinhhoc_db();
			return $data->Xoa($this->MaChuongTrinh);
		}

		public function CapNhat()
		{
			$data = new chuongtrinhhoc_db();
			return $data->CapNhat($this->MaChuongTrinh, $this->TenChuongTrinh, $this->SoTiet, $this->HocPhi, $this->MaTrangThai, $this->GhiChu, $this->PIN);
		}

		public function LayDanhSach()
		{
			$data = new chuongtrinhhoc_db();
			return $data->LayDanhSach($this->MaChuongTrinh, $this->TenChuongTrinh, $this->SoTiet, $this->HocPhi, $this->MaTrangThai, $this->GhiChu, $this->PIN);
		}

	}

